package com.yonyou.pmclouds;

import com.yonyou.cloud.config.IrisSpringBootAutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 启用diwork及开发者中心的相关配置，在开发环境可以默认停用
 */
@Configuration
@ComponentScan(basePackages = {"com.yonyou"})
@EntityScan("com.yonyou")
@ServletComponentScan
@ConditionalOnProperty("yht.diworkDomainName")
public class PlatformConfiguration extends IrisSpringBootAutoConfiguration {

}
